package com.zhijiaoyun.model;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public class WebsiteLink extends ModifyModel {
	private static final long serialVersionUID = -5925775371461547831L;

	private Long linkId;

    private String name;

    private String linkUrl;

    private Integer sort;

    private Integer status;
    
    public WebsiteLink() {
		super();
	}

	public WebsiteLink(String name, String linkUrl, Integer sort, Integer status, String createUser) {
		super();
		this.name = name;
		this.linkUrl = linkUrl;
		this.sort = sort == null ? 1 : sort;
		this.status = status == null ? 0 : status;
		this.createUser = createUser;
	}

	public Long getLinkId() {
        return linkId;
    }

    public void setLinkId(Long linkId) {
        this.linkId = linkId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl == null ? null : linkUrl.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
    
}